<template>
    <div id="topheader">
        <div class="logoarea" @click="gologin">
            <img src="../../../assets/login/logo3.svg" alt="">
        </div>
        <div class="rightarea">
            <el-button type="primary" @click="gologin">驾校登录</el-button>
        </div>
    </div>
</template>

<script>
export default {
    data(){
        return{

        }
    },
    methods:{
        gologin(){
            this.$router.push({
                path:'/login'
            })
        }
    }
}
</script>

<style scoped lang='scss'>
#topheader{
    position: fixed;
    top: 0;
    height: 70px;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 0 5px rgb(221, 221, 221);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 999;
    .logoarea{
        margin-left: 30px;
        img{
            width: 204px;
        }
        cursor: pointer;
    }
    .rightarea{
        padding-right: 30px;
    }
    
}
</style>